home *** CD-ROM | disk | FTP | other *** search
/ PC Home 109 / PC Home 109.iso / data1.cab / Program_Files / timemenu.dxr / 00004.ls < prev    next >
Encoding:
Text File  |  2001-03-02  |  1.3 KB  |  49 lines

  1. on exitFrame
  2.   repeat with n = 15 to 16
  3.     handcursor(n)
  4.   end repeat
  5.   repeat with n = 20 to 20
  6.     handcursor(n)
  7.   end repeat
  8.   repeat with n = 22 to 22
  9.     handcursor(n)
  10.   end repeat
  11.   repeat with n = 25 to 26
  12.     handcursor(n)
  13.   end repeat
  14.   set y to 21
  15.   if rollOver(15) or rollOver(26) then
  16.     set the width of sprite 3 to the width of sprite 3 + y
  17.   else
  18.     set the visible of sprite 9 to 0
  19.     set the width of sprite 3 to the width of sprite 3 - y
  20.   end if
  21.   if the width of sprite 3 = 191 then
  22.     set the visible of sprite 9 to 1
  23.     set the width of sprite 3 to the width of sprite 3 - y
  24.   end if
  25.   if the width of sprite 3 = -40 then
  26.     set the width of sprite 3 to the width of sprite 3 + y
  27.   end if
  28.   set D to 21
  29.   if rollOver(16) or rollOver(25) then
  30.     set the width of sprite 4 to the width of sprite 4 + D
  31.   else
  32.     set the visible of sprite 10 to 0
  33.     set the width of sprite 4 to the width of sprite 4 - D
  34.   end if
  35.   if the width of sprite 4 = 191 then
  36.     set the visible of sprite 10 to 1
  37.     set the width of sprite 4 to the width of sprite 4 - D
  38.   end if
  39.   if the width of sprite 4 = -40 then
  40.     set the width of sprite 4 to the width of sprite 4 + D
  41.   end if
  42.   if rollOver(5) then
  43.     set the visible of sprite 6 to 1
  44.   else
  45.     set the visible of sprite 6 to 0
  46.   end if
  47.   go(the frame)
  48. end
  49.